package com.itheima.account.pojo;

import org.springframework.context.annotation.Scope;
import org.springframework.context.annotation.ScopedProxyMode;
import org.springframework.stereotype.Component;

@Component
@Scope(scopeName = "prototype", proxyMode = ScopedProxyMode.TARGET_CLASS)
public class Mouse {
    public static int count = 0;
    public Mouse(){
        count++;
    }
    public void play(){
        System.out.println(this + ":play");
    }
}
